/*
 * @Description: 
 * @Author: Sun
 * @Date: 2019-08-10 13:42:11
 * @LastEditors: Sun
 * @LastEditTime: 2019-08-19 21:35:08
 */
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import de from '@/view/deon'
import scro from '@/view/scroll'
import goos from '@/view/gos'
import danone from '@/view/danone'
import datas from '@/view/datas'
import drag from '@/view/drag'
import dragul from '@/view/draglis'
import bao from '@/view/bao'
import jie from '@/view/jieliu'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
		{                    //每一个链接都是一个对象
      path: '/deon',     //链接路径
      name: 'de',     //路由名称，
      component: de   //对应的组件模板
    },
		{                    
		  path: '/scro',    
		  name: 'scro',     
		  component: scro  
		},
		{                    
		  path: '/go',    
		  name: 'goos',     
		  component: goos  
		},
		{                    
		  path: '/danone',    
		  name: 'danone',     
		  component: danone  
		},
		{                    
		  path: '/datas',    
		  name: 'datas',     
		  component: datas  
		},
		{                    
		  path: '/drag',    
		  name: 'drag',     
		  component:drag  
		},
		{                    
		  path: '/dragul',    
		  name: 'dragul',     
		  component:dragul 
		},
		{
			path: '/pm',
			name: 'bao',
			component: bao
		},
		{
			path: '/jie',
			name: 'jie',
			component: jie
		}
  ]
})
